object DMConfigs: TDMConfigs
  OldCreateOrder = False
  Height = 376
  Width = 654
  object sdsFolder: TSQLDataSet
    SchemaName = 'sysdba'
    CommandText = 'select * from RB_FOLDER'
    DbxCommandType = 'Dbx.SQL'
    MaxBlobSize = 1
    Params = <>
    SQLConnection = DM1.CONEXAO
    Left = 24
    Top = 8
    object sdsFolderFOLDERID: TIntegerField
      FieldName = 'FOLDERID'
    end
    object sdsFolderNAME: TStringField
      FieldName = 'NAME'
      Size = 60
    end
    object sdsFolderPARENTID: TIntegerField
      FieldName = 'PARENTID'
    end
  end
  object dspFolder: TDataSetProvider
    DataSet = sdsFolder
    Left = 24
    Top = 56
  end
  object cdsFolder: TClientDataSet
    Active = True
    Aggregates = <>
    Params = <>
    ProviderName = 'dspFolder'
    Left = 24
    Top = 104
    object cdsFolderFOLDERID: TIntegerField
      FieldName = 'FOLDERID'
    end
    object cdsFolderNAME: TStringField
      FieldName = 'NAME'
      Size = 60
    end
    object cdsFolderPARENTID: TIntegerField
      FieldName = 'PARENTID'
    end
    object cdsFoldersdsItem: TDataSetField
      FieldName = 'sdsItem'
    end
  end
  object dsFolder: TDataSource
    DataSet = sdsFolder
    Left = 24
    Top = 152
  end
  object sdsMasterAcaoImpressao: TSQLDataSet
    SchemaName = 'sysdba'
    CommandText = 'select * from config_acao_impressao'
    DbxCommandType = 'Dbx.SQL'
    MaxBlobSize = -1
    Params = <>
    SQLConnection = DM1.CONEXAO
    Left = 256
    Top = 8
    object sdsMasterAcaoImpressaoID_ACAO: TIntegerField
      FieldName = 'ID_ACAO'
      Required = True
    end
    object sdsMasterAcaoImpressaoDESCRICAO_ACAO: TStringField
      FieldName = 'DESCRICAO_ACAO'
      Size = 60
    end
    object sdsMasterAcaoImpressaoIMPRESSO_MULTIPLO_ACAO: TStringField
      FieldName = 'IMPRESSO_MULTIPLO_ACAO'
      FixedChar = True
      Size = 1
    end
  end
  object dspMasterAcaoImpressao: TDataSetProvider
    DataSet = sdsMasterAcaoImpressao
    Left = 256
    Top = 64
  end
  object cdsMasterAcaoImpressao: TClientDataSet
    Active = True
    Aggregates = <>
    Params = <>
    ProviderName = 'dspMasterAcaoImpressao'
    Left = 256
    Top = 112
    object cdsMasterAcaoImpressaoID_ACAO: TIntegerField
      DisplayLabel = 'ID'
      FieldName = 'ID_ACAO'
      ProviderFlags = [pfInWhere, pfInKey]
      Required = True
    end
    object cdsMasterAcaoImpressaoDESCRICAO_ACAO: TStringField
      DisplayLabel = 'DESCRI'#199#195'O'
      FieldName = 'DESCRICAO_ACAO'
      ProviderFlags = [pfInUpdate]
      Size = 60
    end
    object cdsMasterAcaoImpressaoIMPRESSO_MULTIPLO_ACAO: TStringField
      FieldName = 'IMPRESSO_MULTIPLO_ACAO'
      ProviderFlags = [pfInUpdate]
      Visible = False
      FixedChar = True
      Size = 1
    end
    object cdsMasterAcaoImpressaosdsDetailAcaoImpressao: TDataSetField
      FieldName = 'sdsDetailAcaoImpressao'
      Visible = False
    end
  end
  object sdsDetailAcaoImpressao: TSQLDataSet
    SchemaName = 'sysdba'
    CommandText = 'select *  from CONFIG_ACAO_IMPRESSOS where ID_ACAO = :ID_ACAO'
    DbxCommandType = 'Dbx.SQL'
    DataSource = dsDetailAcaoImpressao
    MaxBlobSize = -1
    Params = <
      item
        DataType = ftInteger
        Name = 'ID_ACAO'
        ParamType = ptInput
      end>
    SQLConnection = DM1.CONEXAO
    Left = 400
    Top = 8
  end
  object cdsDetailAcaoImpressao: TClientDataSet
    Aggregates = <>
    DataSetField = cdsMasterAcaoImpressaosdsDetailAcaoImpressao
    Params = <>
    Left = 400
    Top = 64
    object cdsDetailAcaoImpressaoID_ACAO: TIntegerField
      FieldName = 'ID_ACAO'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object cdsDetailAcaoImpressaoFOLDER_ID: TIntegerField
      FieldName = 'FOLDER_ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Visible = False
    end
    object cdsDetailAcaoImpressaoNOME_IMPRESSO: TStringField
      DisplayLabel = 'NOME IMPRESSO'
      FieldName = 'NOME_IMPRESSO'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Size = 60
    end
    object cdsDetailAcaoImpressaoITEM_ID: TIntegerField
      FieldName = 'ITEM_ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
  end
  object dsDetailAcaoImpressao: TDataSource
    DataSet = sdsMasterAcaoImpressao
    Left = 400
    Top = 112
  end
  object sdsItem: TSQLDataSet
    SchemaName = 'sysdba'
    CommandText = 'select * from RB_ITEM where FOLDERID = :FOLDERID'
    DbxCommandType = 'Dbx.SQL'
    DataSource = dsFolder
    MaxBlobSize = 1
    Params = <
      item
        DataType = ftInteger
        Name = 'FOLDERID'
        ParamType = ptInput
      end>
    SQLConnection = DM1.CONEXAO
    Left = 104
    Top = 8
  end
  object cdsItem: TClientDataSet
    Aggregates = <>
    DataSetField = cdsFoldersdsItem
    Params = <>
    Left = 104
    Top = 56
    object cdsItemITEMID: TIntegerField
      FieldName = 'ITEMID'
      Visible = False
    end
    object cdsItemFOLDERID: TIntegerField
      FieldName = 'FOLDERID'
      Visible = False
    end
    object cdsItemNAME: TStringField
      FieldName = 'NAME'
      Size = 60
    end
  end
end
